package com.itcast.mapper;

import com.itcast.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.multipart.MultipartFile;


import java.util.List;

//@Mapper标记该类是一个mybatis的mapper接口，可以被spring boot自动扫描到spring上下文中
@Mapper
public interface UserMapper {
    public List<User> queryUserList2Excle();


    boolean excelUpload(String name, MultipartFile file);

    List<User> findAll(User user);
}
